package polymorphismTest;

public class Platform extends Pay{
    public Platform(){

    }
    public Platform(double money){
        super(money);
    }

    @Override
    public void payment() {
        System.out.println("通过支付平台支付了"+getMoney()+"元");
    }
}
